Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

fix(bump): send changelog to stdout when dry-run is paired with changelog-to-stdout #539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

bavedarnow
Copy link
Contributor

Description

This sends the changelog to stdout when paired with the --dry-run flag

Checklist

  • Add test cases to all the changes you introduce
  • Run ./scripts/format and ./scripts/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

when running cz bump --changelog-to-stdout --dry-run, the changelog should show in stdout

Steps to Test This Pull Request

Additional context

Closes #538

@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #539 (53c66f6) into master (0307360) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
+ Coverage   98.00%   98.01%   +0.01%     
==========================================
  Files          39       39              
  Lines        1552     1563      +11     
==========================================
+ Hits         1521     1532      +11     
  Misses         31       31              
Flag Coverage Δ
unittests 98.01% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
commitizen/cli.py 93.93% <ø> (ø)
...en/cz/conventional_commits/conventional_commits.py 100.00% <ø> (ø)
commitizen/__version__.py 100.00% <100.00%> (ø)
commitizen/cmd.py 100.00% <100.00%> (ø)
commitizen/commands/bump.py 96.42% <100.00%> (ø)
commitizen/commands/check.py 100.00% <100.00%> (ø)
commitizen/git.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dee73f0...53c66f6. Read the comment docs.

@woile woile merged commit a28ba8b into commitizen-tools:master Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Produce changelog with cz bump --dry-run --changelog-to-stdout
2 participants